package com.example.myimageshare.Utils;

import android.util.Log;

public class MyTextUtil {

    public static String Cut (String originStr){
        String aferStr = "";
        if(originStr!= null) {
            if (originStr.length() >= 8) {
                aferStr = originStr.substring(0, 8) + "……";

            } else {
                aferStr = originStr;
            }
            Log.d("MyTextUtil", aferStr);
        }
        return aferStr;
    }
}
